package com.idroc.message;

import org.apache.mina.common.ByteBuffer;

/**
 * 消息接口
 * @author 赤脚詹(yuyoo4j@163.com)
 * @date Aug 17, 2009 4:08:44 PM 
 * @memo:
 */
public interface Message {

	boolean isDecoded();
	boolean isEncoded();
	void decode(ByteBuffer ib);
	void encode(ByteBuffer ob);
}
